﻿#region Copyright

// All Material Copyright © 2008-2010 Dynamic Concepts Development Corp., All Rights Reserved
// 
// For further information please contact SoftwareSupport@dynconcepts.com
// 
// Dynamic Concepts Development Corp.  311 W 57th St. Suite #422, New York, NY 10019

#endregion

namespace DynConDev.CorpLib.CommandLineParser
{
    public class CommandLine
    {
        private readonly Command r_Command;

        private readonly OptionCollection r_ExecutableOptions;


        private readonly ParameterCollection r_Parameters = new ParameterCollection();

        internal CommandLine(string commandName, OptionCollection executableOptions)
        {
            r_Command = new Command(commandName);
            r_ExecutableOptions = executableOptions;
        }

        public Command Command
        {
            get { return r_Command; }
        }

        public OptionCollection ExecutableOptions
        {
            get { return r_ExecutableOptions; }
        }

        public ParameterCollection Parameters
        {
            get { return r_Parameters; }
        }
    }
}